package com.free.framework.lib.network;

/**
 * @author 李博
 * @date 16/10/17
 * @desc APISerice工厂类
 */

public class APIServiceFactory {

    public static <T> T createAPIService(Retrofit2Host host, Class<T> clz) {
        return Retrofit2Mgr.getInstance().getRetrofit(host.getHost()).create(clz);
    }

}
